{sdcms:include("../../sdcms_top.asp")}
<meta name="Keywords" content="{seokey}" />
<meta name="Description" content="{seodesc}" />
<title>{title}{if page>1}_第{page}页{/if}_{classname}_{sdcms[webname]}</title>
{sdcms:include("../../sdcms_base.asp")}
<script>var webroot="{webroot}";var infoid="{rsshow[cid]}";</script>
<script src="{webroot}lib/js/sdcms.hits.js"></script>
<script src="{skins}/js/swipe.js"></script>
{sdcms:include("../../sdcms_head.asp")}

<ul class="bread">
    <li class="text-big"><a href="{webroot}" class="icon-home"> 首页</a>{sdcms.getpostion(parentid," > ")} > 正文</li>
</ul>

{dim picarr:picarr=eval(rsshow("piclist"))}
{dim introarr:introarr=eval(rsshow("introlist"))}
<div class="padding-left padding-right margin artshow">
    <span class="float-right badge"><span id="number">1</span>/{asp ubound(picarr)+1}</span><h1>{title}</h1>
    <div class="info">{sdcms.getdate(createdate,".",1)}　人气：<span id="hits">{hits}</span>
    {if iscomment=1 and syscomment}　评论：<span id="commentnum"><a href="{webroot}plug/comment.asp?id={id}">{comments}</a></span>{/if}</div>
    
    <div id="mySwipe" class="swipe">
        <div class="swipe-wrap">
            {for i=0 to ubound(picarr)}
            <div><img src="{picarr(i)}" /><p>{introarr(i)}</p></div>
            {/for}
        </div>
    </div>
    <div class="margin-big-top showcontent">{content}</div>
    
    <div class="margin-big-top text-right margin-large-bottom">
    <button class="button win-back icon-arrow-left"> 后退</button>
    <button class="button win-backtop">返回顶部 <span class="icon-arrow-up"></span></button>
    </div>
</div>

{if iscomment=1 and syscomment and not(commentconfig(2))}
<div class="commentpost">
    <form method="post" class="form-inline form_comment">
        <div class="form-group">
            <div class="field">
            <div class="input-group"><span class="addbtn">网友：</span><input type="text" class="input" name="t0" placeholder="我也说两句" /><input type="hidden" name="t1" value="{asp sdcms.get_cityname("网友")}" /><span class="addbtn"><button type="submit" class="button bg-gray">发表</button></span></div>
            </div>
        </div>
    </form>
</div>
{/if}

<script>window.mySwipe=$("#mySwipe").Swipe({auto:5000,continuous:false,transitionEnd:function(index){$("#number").html(index+1)}}).data("Swipe");</script>